<?php

/**
 * Description of HotelModelclass
 *
 * @author Mike
 */
class OrderModel extends CommonModel {
    public $_validate	=	array(
		array('start_time','require','入住时间必须填写！'),
		array('end_time','require','离开时间必须填写！'),
                array('member_id','isMember','必须选择会员！',1,'callback'),
		);

    function isMember($member_id){
        if($member_id == 0)
            return false;
    }
}
?>
